package cn.com.git.workflow.service.dto;

import cn.com.git.common.base.BaseDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
  * WorkFlowStart dto
  * @author zhangzhenfu
  * @Description
  * @date 2020/4/12
*/
@Data
public class WorkFlowStartDTO extends BaseDTO {

    @ApiModelProperty(value = "流程标题")
    @NotNull
    private String flowTitle;

    @ApiModelProperty(value = "流程类型")
    @NotNull
    private String flowType;

    @ApiModelProperty(value = "流程内容")
    private String body;

    @ApiModelProperty(value = "审批人id")
    @NotNull
    private Integer operatorId;

    @ApiModelProperty(value = "审批人名称")
    @NotNull
    private String operatorName;

    @ApiModelProperty(value = "下一个节点处理组用户")
    @NotNull
    private List<WorkFlowNodeDTO.WorkFlowNodeGroupOperatorDTO> nextNodeGroupUserList;

}